home *** CD-ROM | disk | FTP | other *** search
Java Source | 1997-06-19 | 1.1 KB | 47 lines |
- package symantec.itools.awt.util.spinner;
-
-
- import symantec.itools.awt.ListSpinner;
-
-
- /**
- * Month spin control.<br>
- * Creates a text box, containing a list Months,
- * with up and down arrows. Allows your user
- * to move through a set of fixed values or type a valid value in the box.
- *
- * @see symantec.itools.awt.ListSpinner
- *
- * @version 1.0, Nov 26, 1996
- *
- * @author Symantec
- *
- */
-
-
- public class MonthSpinner
- extends ListSpinner
- {
-
- /**
- * Construct MonthSpinner component. This component includes
- * the months in the order Janruary through December. By default,
- * the inial display of this component is the item "Janruary".
- */
- public MonthSpinner()
- {
- addItem("January");
- addItem("Febuary");
- addItem("March");
- addItem("April");
- addItem("May");
- addItem("June");
- addItem("July");
- addItem("August");
- addItem("September");
- addItem("October");
- addItem("November");
- addItem("December");
- }
- }
-